using System;
using Atomic.Libraries.Mathematics.Functions;

namespace Atomic.Clusters.Fitting
{
	[Serializable]
	public class SimpleClusterExpansion //: ClusterExpansion
	{
		private SimpleClusterExpansion()
		{
		}

		public void RUn()
		{

		}

	/*
		private Function ObjectiveFunction(Variable[] eci_vars)
		{
			Function f = 0.0;
			for (int i = 0; i < n; i++)
			{
				double scaling = structures[i].Sites.Count / 2.0;

				Function g = 0.0;
				for (int j = 0; j < m; j++)
				{
					g += phi[i][0, j] * eci_vars[j];
				}
				g *= scaling;
				g += structures_ref_energies[i];

				f += Function.Sqr(energies[i] - g);

				//energies[i] = (phi[i] * eci)[0] * scaling + structures_ref_energies[i];
				//Console.WriteLine(energies[i]);
			}
			return Function.Sqrt(f / n);
		}*/
	}
}
